package com.reservation.dto.user.booking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel("支付请求数据传输对象")
public class PayDTO {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "订单id", required = true, example = "10")
    private long id;

    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式（1：支付宝，2：微信）", required = true, example = "1")
    private Integer payMethod;

}
